package com.ijiuchuang.jc_localization.bean.entity;

import java.io.Serializable;

/**
 * Created by Veev on 2016/6/18
 *
 * @link 384506557@qq.com
 */
public class BleDevice implements Serializable {

    private String name;
    private String mac;
    private int rssi;
    private double preRssi;
    private String bcData;
    private int heartRate;

    public BleDevice(String name, String mac, int rssi, double preRssi, String bcData) {
        this.name = name;
        this.mac = mac;
        this.rssi = rssi;
        this.preRssi = preRssi;
        this.bcData = bcData;
    }

    @Override
    public String toString() {
        return "BleDevice{" +
                "name='" + name + '\'' +
                "mac='" + mac + '\'' +
                "rssi='" + rssi + '\'' +
                "preRssi='" + preRssi + '\'' +
                "bcData='" + bcData + '\'' +
                '}';
    }

    public String getMac() {
        return mac;
    }

    public BleDevice setMac(String mac) {
        this.mac = mac;
        return this;
    }

    public String getName() {
        return name;
    }

    public BleDevice setName(String name) {
        this.name = name;
        return this;
    }

    public int getRssi() {
        return rssi;
    }

    public BleDevice setRssi(int rssi) {
        this.rssi = rssi;
        return this;
    }

    public double getPreRssi() {
        return preRssi;
    }

    public BleDevice setPreRssi(double preRssi) {
        this.preRssi = preRssi;
        return this;
    }

    public String getBcData() {
        return bcData;
    }

    public BleDevice setBcData(String bcData) {
        this.bcData = bcData;
        return this;
    }

    public int getHeartRate() {
        return heartRate;
    }

    public void setHeartRate(int heartRate) {
        this.heartRate = heartRate;
    }
}
